package Computer;

public class Simulator {  
    Animal animal;
    public void playSound(Animal animal) {  
         this.animal =animal;
    }
    public void showMess() {	
    	System.out.println("动物种类名称: " + animal.getAnimalName());  
        animal.cry();  
 }  
}